package query

type SysDevConfigQuery struct {
	IdSn         string `form:"idSn"  search:"type:eqOr;column:id,dev_sn;table:sys_dev_config"`
	Sn           string `form:"sn"  search:"type:exact;column:dev_sn;table:sys_dev_config"`
	ProductId    string `form:"productId"  search:"type:exact;column:dev_product_id;table:sys_dev_config"`
	ProductModel string `form:"productModel"  search:"type:exact;column:product_model;table:sys_dev_config"`

	SnIn        []string `search:"type:in;column:dev_sn;table:sys_dev_config"`
	ProductIdIn []string `search:"type:in;column:dev_product_id;table:sys_dev_config"`
}

func (m *SysDevConfigQuery) GetNeedSearch() interface{} {
	return *m
}
